Using Nancy

Modified on Monday, 21 December 2015 03:46 PM by 156.75.200.57 — Categorized as: Uncategorized

In your project, add references to the following:
Microsoft.Owin
Microsoft.Owin.Host.SystemWeb
Microsoft.Owin.Security
Microsoft.Owin.Security.Cookies
Microsoft.Owin.Security.WsFederation
Nancy.Owin

Web.Config

Web Configuration File For Nancy

Startup.cs

Using Nancy: Example Owin Startup

Bootstrapper.cs

Using Nancy: Bootstrapper

NancyExtensions.cs

Using Nancy: Extensions

AuthModule.cs

Using Nancy: Example AuthModule

Authorization.cs

Using Nancy: Example Authorization Model

JavaScript

Using Nancy: Clientside Example